<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings";
import { handleThemeStyle } from "@/utils/theme";

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme);
  });
});
</script>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
}

.el-menu {
  border: 0 !important;
}

#app {
  background: #101111 url("@/assets/images/contentbg.png") no-repeat center /
    cover;
}
</style>
